<#include "/common/_layout.html"/> <@layout>
<h1>
	用户管理&nbsp;&nbsp; <a href="/core/user/add">创建用户</a>
</h1>
<div class="table_box">
	<table class="list">
		<tbody>
			<tr>
				<th width="4%">id</th>
				<th width="35%">用户名</th>
				<th width="35%">姓名</th>
				<th width="12%">操作</th>
			</tr>

			<#list userPage.getList() as x>
			<tr>
				<td style="text-align: left;">${x.uid}</td>
				<td style="text-align: left;">${x.username}</td>
				<td style="text-align: left;">${x.name}</td>
				<td style="text-align: left;">&nbsp;&nbsp;<a
					href="/core/user/delete/${x.uid}">删除</a> &nbsp;&nbsp;<a
					href="/core/user/edit/${x.uid}">修改</a>
				</td>
			</tr>
			</#list>
		</tbody>
	</table>
	<#include "/common/_paginate.html" /> 
	<@paginate
	currentPage=userPage.pageNumber totalPage=userPage.totalPage
	actionUrl="/core/user/" />
</div>
</@layout>
